
export function Type(id,name){

  this.id = id;

  this.name = name;

  this.show = true;

  // this.color = DEFAULT.NODE_COLOR;

  // this.r = DEFAULT.R;

  this.selfColor = null; //用户自定义类型颜色

  this.typedCount = 0; //属于当前类型节点数量

}